import { Node, Vec3, v3 } from 'cc';
import Singleton from "../../base/singleton";
import { JoyStickManager } from "../joyStick/joyStickManager";
import State from '../../base/State';
import { StateMachine } from '../../base/stateMachine';
import { EntityManager } from '../../base/entityManager';

export default class DataManager extends Singleton {
    // 单例模式
    static get Instance(): DataManager { return super.getInstance<DataManager>(); } // 调用全局单例

    _joyStick: JoyStickManager = null;
    _camera: Node = null;
    _player: EntityManager = null;
};